package demofactory;

public class AdimalUser extends User{
    public AdimalUser(String name, int age) {
        super(name, age);
    }

    @Override
    public void menu() {
        System.out.println("管理员菜单");
    }
    public void addBook(String name){
        System.out.println("已加入 "+name);
    }
}
